package com.itheima.reggie.service;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;

import java.util.Date;

public interface OrderService {
    //创建订单
    void save(Order order);

    //分页查询订单   app端
    Page<Order> findUserPage(Integer pageNum, Integer pageSize);


    //分页查询订单
    Page<Order> findByPage(Integer pageNum, Integer pageSize, String number, String beginTime, String endTime);



}
